﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GameSchoolWeb.Models
{
	public class CourseIndexModelView
	{

		public CourseIndexModelView(Course courseItem, IQueryable<NewsItem> newsItems, IQueryable<Level> levelItem)
		{
			this.NewsItems = newsItems;
			this.Course = courseItem;
			this.LevelList = levelItem;
		}

		public Course Course { get; private set; }
		public IQueryable<NewsItem> NewsItems { get; private set; }
		public IQueryable<Level> LevelList { get; private set; }
	}
}